package org.ncibi.cytoscape.metscape.ui.table;

import javax.swing.table.DefaultTableModel;

@SuppressWarnings("serial")
public class ExtendedTableModel extends DefaultTableModel {
	public Class<?> getColumnClass(int c) {
    	if(getRowCount() > 0 && getValueAt(0, c) != null) return getValueAt(0, c).getClass();
    	else return Object.class;
    }
}
